<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div
    style="height:400px;width:550px;margin:50px auto;margin-left:auto;border:solid 1px;background: rgb(246, 246, 253);">
    <div style="margin-left: 45px;">
      # 主页
      <form action="#" role="form" style="margin-top: 90px;">
        # 登陆成功！
        # 恭喜_<%= user.username %>_，登陆成功！
        <div style="margin-top: 145px;">
          <input type="button" value="退 出" onClick="logout()"/>
        </div>
      </form>
    </div>
  </div>
  <script>
    function logout() {
      location.href = '/login'
    }
  </script>
</body>

</html>